import Vue from 'vue'
import Router from 'vue-router'
import order from '@/components/order'
import index from '@/components/index'
import pcLogin from '@/components/pcLogin'
import product from '@/components/product'
import HelloWorld from '@/components/HelloWorld'
import createOrder from '@/components/createOrder'
import comment from '@/components/comment'
import gocomment from '@/components/gocomment'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
		{
		  path: '/createOrder',
		  name: 'createOrder',
		  component: createOrder
		},
		{
		  path: '/order',
		  name: 'order',
		  component: order
		},
		{
		  path: '/pcLogin',
		  name: 'pcLogin',
		  component: pcLogin
		},
		{
		  path: '/index',
		  name: 'index',
		  component: index
		},
		{
		  path: '/product',
		  name: 'product',
		  component: product
		},
		{
		  path: '/comment',
		  name: 'comment',
		  component: comment
		},
		{
		  path: '/gocomment',
		  name: 'gocomment',
		  component: gocomment
		}
  ]
})
